package org.example.bean.service;

import javax.annotation.PostConstruct;

public abstract class AbstractLoginService implements LoginStragegy {

    public LoginCommonStragegyRegistry loginCommonStragegyRegistry;

    protected AbstractLoginService(LoginCommonStragegyRegistry loginCommonStragegyRegistry) {
        this.loginCommonStragegyRegistry = loginCommonStragegyRegistry;
    }

    /**
     * 初始化策略注册表。
     */
    @PostConstruct
    protected abstract void initRegistry();
}
